from  toolsSrc.status.status import Status
from yawSrc.yawOnl.initialData import initialData
from yawSrc.yawOnl.cleanProcess import cleanProcess
from yawSrc.yawOnl.groupProcess import groupProcess
from yawSrc.yawOnl.smoothProcess import smoothProcess
from yawSrc.yawOnl.fusionProcess import fusionProcess
from yawSrc.yawOnl.surfaceProcess import surfaceProcess
from yawSrc.yawOnl.regressProcess import regressProcess
from yawSrc.yawOnl.lineRegress import lineRegress
from yawSrc.yawOnl.lineCompareProcess import lineCompareProcess
from yawSrc.yawOnl.powerCompareProcess import powerCompareProcess


@Status.changeDBStatus('yaw',2, 1)
@Status.changeStatus(2, 1)
def yawOnl():
    initialData()
    cleanProcess()
    groupProcess()
    smoothProcess()
    fusionProcess()
    surfaceProcess()
    # regressProcess()
    lineRegress()
    lineCompareProcess()
    powerCompareProcess()

if __name__ == '__main__':
    yawOnl()
